<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class ReportAgent
 * 
 * @property int $id
 * @property int $hall_id
 * @property \Carbon\Carbon $date
 * @property int $agent_id
 * @property string $agent_name
 * @property int $new_count
 * @property int $first_deposit_count
 * @property int $bet_count
 * @property int $deposit_online_times
 * @property int $deposit_offline_times
 * @property int $deposit_manual_times
 * @property int $deposit_total_times
 * @property int $deposit_online_amount
 * @property int $deposit_offline_amount
 * @property int $deposit_manual_amount
 * @property int $deposit_total_amount
 * @property int $bet_times
 * @property int $bet_amount
 * @property int $prize
 * @property int $profit
 * @property int $validbet_card
 * @property int $validbet_lottery
 * @property int $validbet_esport
 * @property int $validbet_sport
 * @property int $validbet_video
 * @property int $validbet_egame
 * @property int $profit_card
 * @property int $validbet
 * @property int $profit_lottery
 * @property int $profit_esport
 * @property int $profit_sport
 * @property int $profit_video
 * @property int $profit_egame
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class ReportAgent extends Eloquent
{
	protected $table = 'report_agent';

	protected $casts = [
		'hall_id' => 'int',
		'agent_id' => 'int',
		'new_count' => 'int',
		'first_deposit_count' => 'int',
		'bet_count' => 'int',
		'deposit_online_times' => 'int',
		'deposit_offline_times' => 'int',
		'deposit_manual_times' => 'int',
		'deposit_total_times' => 'int',
		'deposit_online_amount' => 'int',
		'deposit_offline_amount' => 'int',
		'deposit_manual_amount' => 'int',
		'deposit_total_amount' => 'int',
		'bet_times' => 'int',
		'bet_amount' => 'int',
		'prize' => 'int',
		'profit' => 'int',
		'validbet_card' => 'int',
		'validbet_lottery' => 'int',
		'validbet_esport' => 'int',
		'validbet_sport' => 'int',
		'validbet_video' => 'int',
		'validbet_egame' => 'int',
		'profit_card' => 'int',
		'validbet' => 'int',
		'profit_lottery' => 'int',
		'profit_esport' => 'int',
		'profit_sport' => 'int',
		'profit_video' => 'int',
		'profit_egame' => 'int'
	];

	protected $dates = [
		'date'
	];

	protected $fillable = [
		'date',
		'agent_id',
		'agent_name',
		'new_count',
		'first_deposit_count',
		'bet_count',
		'deposit_online_times',
		'deposit_offline_times',
		'deposit_manual_times',
		'deposit_total_times',
		'deposit_online_amount',
		'deposit_offline_amount',
		'deposit_manual_amount',
		'deposit_total_amount',
		'bet_times',
		'bet_amount',
		'prize',
		'profit',
		'validbet_card',
		'validbet_lottery',
		'validbet_esport',
		'validbet_sport',
		'validbet_video',
		'validbet_egame',
		'profit_card',
		'validbet',
		'profit_lottery',
		'profit_esport',
		'profit_sport',
		'profit_video',
		'profit_egame'
	];
}
